package com.eapi.project.service;

import com.eapi.project.model.dto.mail.MailRequest;

public interface SendMailService {
    /**
     * 简单文本邮件
     *
     * @param mailRequest
     * @return
     */
    void sendSimpleMail(MailRequest mailRequest);

    // 检验邮箱参数是否合理
    void checkMail(MailRequest mailRequest);


    /**
     * Html格式邮件,可带附件
     *
     * @param mailRequest
     * @return
     */
    // void sendHtmlMail(MailRequest mailRequest);
}
